import request from "@/utils/request";

// 获取页面
export function getList(params) {
  return request({
    url: "/admin/issue/list",
    method: "get",
    params,
  });
}
// 新增
export function addList(data) {
  return request({
    url: "/admin/issue/create",
    method: "post",
    data: data,
  });
}
// 编辑
export function editList(data) {
  return request({
    url: "/admin/issue/update",
    method: "post",
    data: data,
  });
}
// 删除
export function delList(data) {
  return request({
    url: "/admin/issue/delete",
    method: "post",
    data: data,
  });
}
